
TEMPLATE		=	app
unix:!macx {
    TARGET              = qt4_procycle
}
macx {
    TARGET              = ProCycle
}
win32 {
    TARGET              = procycle
}
DESTDIR                 =       ..
CONFIG			+=	warn_off
QT				+=	core \
					gui \
					xml
HEADERS			+=	tasktreeitem.h \
					tasktreemodel.h \
					procycle.h \
					aboutdialog.h \
					tasktreecolumnselectdialog.h \
					tasktreeview.h \
					ganttview.h \
					pcchild.h \
					ganttscene.h \
					gantttask.h \
                                        taskviewhelper.h \
					ganttcycle.h \
					ganttlink.h \
					ganttmtask.h \
					ganttatask.h \
					globals.h \
					ganttitem.h \
					taskselectionmodel.h \
					taskpropertiesdialog.h \
    viewmanager.h \
    timeaxis.h \
    ganttgrads.h \
    printdialog.h
SOURCES			+=	tasktreeitem.cc \
					tasktreemodel.cc \
					main.cc \
					procycle.cc \
					aboutdialog.cc \
					tasktreecolumnselectdialog.cc \
					tasktreeview.cc \
					ganttview.cc \
					ganttscene.cc \
					gantttask.cc \
					ganttcycle.cc \
					ganttlink.cc \
					ganttmtask.cc \
					ganttatask.cc \
					globals.cc \
					ganttitem.cc \
					taskselectionmodel.cc \
					taskpropertiesdialog.cc \
    viewmanager.cc \
    timeaxis.cc \
    ganttgrads.cc \
    printdialog.cc
FORMS			+=	ui/procycle.ui \
					ui/aboutdialog.ui \
					ui/tasktreecolumnselectdialog.ui \
					ui/taskpropertiesdialog.ui \
    ui/printdialog.ui
RESOURCES		+=	res/procycle.qrc
TRANSLATIONS            +=	res/procycle_fr.ts
INCLUDEPATH		+=	../libpc ../qtext

LIBS += -L../lib -lpc -lqtext
PRE_TARGETDEPS += ../lib/libpc.a ../lib/libqtext.a

CODECFORTR		=	UTF-8
macx:ICON		=	res/procycle.icns
win32:RC_FILE           =	res/procycle.rc

OTHER_FILES		+= 	res/procycle.qss \
                                res/procycle_fr.ts
